<div class="modal-content" style="margin-top: 100px;width: 900px">
	<div class="pianadd">
		<div class="modal-header">
			<h5 class="modal-title"><span class="iconfont icon-ceshishenqing1">&nbsp;</span>初始化毕业生名单</h5>
			<button type="button" class="close" data-dismiss="modal" aria-label="Close">
				<span aria-hidden="true">×</span>
			</button>
		</div>


		<form class="div-find form-inline" >
			<div class="form-group">
				<label class="form-label">学生账号：</label>
				<input ng-model="form.yhm" type="text" class="form-control"/>
			</div>
			<div class="form-group">
				<label class="form-label">学生姓名：</label>
				<input ng-model="form.name" type="text" class="form-control"/>
			</div>
			<div class="form-group">
				<label class="form-label">年级：</label>
				<select class="form-control" ng-options="grade.id as grade.name for grade in gradeList" ng-change="findMajor()" ng-model="form.fk_grade">
					<option value="">==请选择==</option>
				</select>
			</div>
			<div class="form-group">
				<label class="form-label">专业：</label>
				<select class="form-control" ng-options="major.id as major.name for major in majorList" ng-change="findClass()" ng-model="form.fk_major">
					<option value="">==请选择==</option>
				</select>
			</div>
			<div class="form-group">
				<label class="form-label">班级：</label>
				<select class="form-control" ng-options="class.id as class.class_name for class in classList" ng-model="form.fk_class">
					<option value="">==请选择==</option>
				</select>
			</div>
			<div class="form-group">
				<label class="form-label">性别：</label>
				<select class="form-control" ng-options="sex.id as sex.name for sex in sexList" ng-model="form.sex">
					<option value="">==请选择==</option>
				</select>
			</div>
			<button ng-click="select()" type="submit" class="btn btn-secondary"><i class="iconfont icon-search"></i>&nbsp;查询</button>
		</form>



		<div class="div-table">
			<table class="table table-hover table-bordered">
				<thead>
				<tr>
					<th class="table-th-checkbox" ><input type="checkbox"  class="term" ng-click="checkAll($event.target)" /></th>
					<th column="year_name" class="sorting" ng-click="order($event.target)">学生账号</th>
					<th column="team_name" class="sorting" ng-click="order($event.target)">姓名</th>
					<th column="task_name" class="sorting" ng-click="order($event.target)">年级</th>
					<th column="start_date" class="sorting" ng-click="order($event.target)">班级</th>
					<th column="end_date" class="sorting" ng-click="order($event.target)">学号</th>
					<th column="grade_name" class="sorting" ng-click="order($event.target)">专业</th>
					<th column="task_ps" class="sorting" ng-click="order($event.target)">学籍状态</th>
				</tr>
				</thead>

				<tbody ng-switch on="page.current_num">
				<tr ng-switch-when="0">
					<td colspan="100" >查询无记录</td>
				</tr>
				<tr ng-repeat="row in rows">
					<td>
						<input type="checkbox" name="dataPk" value="{{row.id}}" />
					</td>
					<td>{{row.yhm}}</td>
					<td>{{row.name}}</td>
					<td>{{row.grade_name}}</td>
					<td>{{row.class_name}}</td>
					<td>{{row.xh}}</td>
					<td>{{row.major}}</td>
					<td>{{row.state}}</td>

				</tr>
				</tbody>
			</table>
		</div>

		<div class="modal-footer">
			<div style="margin: auto;">
				<button type="button" class="btn btn-primary" ng-click="save()">
					<span aria-hidden="true">添加</span>
				</button>
				<button type="button" class="btn btn-secondary" data-dismiss="modal" aria-label="Close">
					<span aria-hidden="true">取消</span>
				</button>
			</div>
		</div>
	</div>
</div>
